package sql.record;

/**
 * @author Ron Galay
 *
 */
public class Course extends TableRecord {

	@SQLType(type="VARCHAR(256)",primeKey=true,searchBy=true)
	public String courseName;
	
	@SQLType(type="VARCHAR(256)")
	public String description;
	
	@SQLType(type="INTEGER")
	public Integer creditPoints;
	
	@SQLType(type="INTEGER")
	public Integer capacity;
	
	@Override
	protected TableRecord getInstanceFactory() {
		return new Course();
	}
	
}
